package com.lagou.bean;

import org.springframework.data.mongodb.core.index.TextIndexed;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.lang.model.element.NestingKind;
import java.util.Date;
@Document(collection = "lg_resume_datas")
public class Resume {

    private String id;

    private String name;

    @TextIndexed
    private String city;

    private String birthday;

    private Double expectSalay;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Double getExpectSalay() {
        return expectSalay;
    }

    public void setExpectSalay(Double expectSalay) {
        this.expectSalay = expectSalay;
    }

    @Override
    public String toString() {
        return "Resume{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", city='" + city + '\'' +
                ", birthday=" + birthday +
                ", expectSalay=" + expectSalay +
                '}';
    }
}
